@page "/Ranged_Column_Chart"

<Tabs>
    <TabPane Key="1">
        <Tab>示例1</Tab>
        <ChildContent>
            <RangeColumn Data=data1 Config="config1" />
        </ChildContent>
    </TabPane>
</Tabs>

@code{

    #region 示例1

    object[] data1 = new object[] {
        new  { type= "分类一", values= new int[]{76, 100 } },
        new  { type= "分类二", values=  new int[]{56, 108 } },
        new  { type= "分类三", values= new int[]{38, 129 } },
        new  { type= "分类四", values=  new int[]{58, 155 } },
        new  { type= "分类五", values= new int[]{45, 120 } },
        new  { type= "分类六", values=  new int[]{23, 99 } },
        new  { type= "分类七", values= new int[]{18, 56 } },
        new  { type= "分类八", values= new int[]{18, 34 } },
};

    RangeColumnConfig config1 = new RangeColumnConfig()
    {
        Title = new Charts.Title()
        {
            Visible = true,
            Text = "区间柱状图",
        },
        XField = "type",
        YField = "values",
    };

    #endregion 示例1


}

